<div class="wrapper">
    <input type="hidden" name="id" value="#(model.id??)"/>
    <input type="hidden" name="image" value="#(model.image??)"/>
    <fieldset>
        <div class="widget">
            <div class="title"><img src="/bes/images/icons/dark/list.png" alt="" class="titleIcon"><h6>产品属性</h6>
            </div>
            <div class="formRow">
                <label>产品名称</label>
                <div class="formRight"><input type="text" class="validate[required]" name="name" id="name"
                                              value="#(model.name??)"/></div>
                <div class="clear"></div>
            </div>
            <div class="formRow">
                <label>显示标题</label>
                <div class="formRight"><input type="text" class="validate[required]" name="title" id="title"
                                              value="#(model.title??)"/></div>
                <div class="clear"></div>
            </div>
            <div class="formRow">
                <label>列表图片</label>
                <div class="formRight">
                    <input type="file" class="validate[required]" name="newImg" id="newImg"/>
                    <img src="/upload/#(model.image??)" width="100px" height="100px"/>
                </div>
                <div class="clear"></div>
            </div>
            <div class="formRow">
                <label>品牌:</label>
                <div class="formRight">
                    <select class="validate[required]" name="brand" id="brand" value="#(model.brand??)">
                        #for(productAttr:productAttrList)
                        #if(productAttr.optionId == 2)
                        #if(productAttr.id == (model.brand)??-1)
                        <option class=" active-result" value="#(productAttr.id)" selected="1">#(productAttr.value)
                        </option>
                        #else
                        <option class=" active-result" value="#(productAttr.id)">#(productAttr.value)</option>
                        #end
                        #end
                        #end
                    </select>
                </div>
                <div class="clear"></div>
            </div>
            <div class="formRow">
                <label>市场价格</label>
                <div class="formRight"><input type="text" class="validate[required]" name="marketPrice" id="marketPrice"
                                              value="#(model.marketPrice??)"/></div>
                <div class="clear"></div>
            </div>
            <div class="formRow">
                <label>网购价格</label>
                <div class="formRight"><input type="text" class="validate[required]" name="netPrice" id="netPrice"
                                              value="#(model.netPrice??)"/></div>
                <div class="clear"></div>
            </div>
            <div class="formRow">
                <label>尺寸</label>
                <div class="formRight"><input type="text" class="validate[required]" name="chiCun" id="chiCun"
                                              value="#(model.chiCun??)"/></div>
                <div class="clear"></div>
            </div>
            <div class="formRow">
                <label>产品类型:</label>
                <div class="formRight">
                    <select class="validate[required]" name="type" id="type" value="#(model.type??)">
                        #for(productAttr:productAttrList)
                        #if(productAttr.optionId == 11)
                        #if(productAttr.id == (model.type)??-1)
                        <option class=" active-result" value="#(productAttr.id)" selected="1">
                            #(productAttr.value)
                        </option>
                        #else
                        <option class=" active-result" value="#(productAttr.id)">#(productAttr.value)
                        </option>
                        #end
                        #end
                        #end
                    </select>
                </div>
                <div class="clear"></div>
            </div>
            <div class="formRow">
                <label>材质:</label>
                <div class="formRight">
                    <select class="validate[required]" name="caiZhi" id="caiZhi" value="#(model.caiZhi??)">
                        #for(productAttr:productAttrList)
                        #if(productAttr.optionId == 6)
                        #if(productAttr.id == (model.caiZhi)??-1)
                        <option class=" active-result" value="#(productAttr.id)" selected="1">
                            #(productAttr.value)
                        </option>
                        #else
                        <option class=" active-result" value="#(productAttr.id)">#(productAttr.value)
                        </option>
                        #end
                        #end
                        #end
                    </select>
                </div>
                <div class="clear"></div>
            </div>
            <div class="formRow">
                <label>规格:</label>
                <div class="formRight">
                    <select class="validate[required]" name="guiGe" id="guiGe" value="#(model.guiGe??)">
                        #for(productAttr:productAttrList)
                        #if(productAttr.optionId == 7)
                        #if(productAttr.id == (model.guiGe)??-1)
                        <option class=" active-result" value="#(productAttr.id)" selected="1">
                            #(productAttr.value)
                        </option>
                        #else
                        <option class=" active-result" value="#(productAttr.id)">#(productAttr.value)
                        </option>
                        #end
                        #end
                        #end
                    </select>
                </div>
                <div class="clear"></div>
            </div>
            <div class="formRow">
                <label>适合身高:</label>
                <div class="formRight">
                    <select class="validate[required]" name="shenGao" id="shenGao" value="#(model.shenGao??)">
                        #for(productAttr:productAttrList)
                        #if(productAttr.optionId == 4)
                        #if(productAttr.id == (model.shenGao)??-1)
                        <option class=" active-result" value="#(productAttr.id)" selected="1">
                            #(productAttr.value)
                        </option>
                        #else
                        <option class=" active-result" value="#(productAttr.id)">#(productAttr.value)
                        </option>
                        #end
                        #end
                        #end
                    </select>
                </div>
                <div class="clear"></div>
            </div>
            <div class="formRow">
                <label>骑行距离:</label>
                <div class="formRight">
                    <select class="validate[required]" name="qxjl" id="qxjl" value="#(model.qxjl??)">
                        #for(productAttr:productAttrList)
                        #if(productAttr.optionId == 5)
                        #if(productAttr.id == (model.qxjl)??-1)
                        <option class=" active-result" value="#(productAttr.id)" selected="1">
                            #(productAttr.value)
                        </option>
                        #else
                        <option class=" active-result" value="#(productAttr.id)">#(productAttr.value)
                        </option>
                        #end
                        #end
                        #end
                    </select>
                </div>
                <div class="clear"></div>
            </div>
            <div class="formRow">
                <label>速别:</label>
                <div class="formRight">
                    <select class="validate[required]" name="suBie" id="suBie" value="#(model.suBie??)">
                        #for(productAttr:productAttrList)
                        #if(productAttr.optionId == 8)
                        #if(productAttr.id == (model.suBie)??-1)
                        <option class=" active-result" value="#(productAttr.id)" selected="1">
                            #(productAttr.value)
                        </option>
                        #else
                        <option class=" active-result" value="#(productAttr.id)">#(productAttr.value)
                        </option>
                        #end
                        #end
                        #end
                    </select>
                </div>
                <div class="clear"></div>
            </div>
            <div class="formRow">
                <label>刹车</label>
                <div class="formRight"><input type="text" class="validate[required]" name="shaChe" id="shaChe"
                                              value="#(model.shaChe??)"/></div>
                <div class="clear"></div>
            </div>
            <div class="formRow">
                <label>重量</label>
                <div class="formRight"><input type="text" class="validate[required]" name="zhongLiang" id="zhongLiang"
                                              value="#(model.zhongLiang??)"/></div>
                <div class="clear"></div>
            </div>
            <div class="formRow">
                <label>车圈</label>
                <div class="formRight"><input type="text" class="validate[required]" name="cheQuan" id="cheQuan"
                                              value="#(model.cheQuan??)"/></div>
                <div class="clear"></div>
            </div>
            <div class="formRow">
                <label>承重</label>
                <div class="formRight"><input type="text" class="validate[required]" name="chengZhong" id="chengZhong"
                                              value="#(model.chengZhong??)"/></div>
                <div class="clear"></div>
            </div>
            <div class="formRow">
                <label>内容:</label>
                <div class="formRight">
                    #@kindeditor("content","content",model.content??,contentMsg??,50,200)
                </div>
                <div class="clear"></div>
            </div>
            <div class="formSubmit"><input type="submit" value="提交" class="redB"></div>
        </div>
    </fieldset>
</div>